<template>
	<view class="addres-card">
		<image class="icon" src="@/static/shop/addres-red.png" mode=""></image>
		<view class="right" @click="navgito(url)">
			<view class="name">
				<text>{{addres.userAddressName}}</text><text>{{addres.userAddressTel}}</text>
			</view>
			<view class="addres">{{addres.userAddress}} {{addres.userDetailsAddress}}</view>
		</view>
	</view>
</template>

<script>

	export default {
		props: ['addres'],
		data() {
			return {
				addresList:[]
			};
		},
		
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.addres-card {
		width: 100%;
		display: flex;
		align-items: center;

		.icon {
			width: 64rpx;
			height: 64rpx;
		}

		.right {
			display: flex;
			flex-direction: column;
			justify-content: center;
			padding:0rpx 10rpx;
			width: calc(100% - 64rpx);
			.name{
				color: #0b072e;
				 font-size: 32rpx;
				 font-weight: 700;
				text{
					margin-right:10rpx;
				}
			}
			.addres{
				margin-top: 10rpx;
				 color: #383838;
				 font-size: 28rpx;
				 margin-top: 10rpx;
			}
		}
	}
</style>